const Home =  () => import('@/views/home')

import Welcome from '@/router/welcome'
import Users from '@/router/users'
import Rights from '@/router/rights'
import Goods from '@/router/goods'
import Orders from '@/router/orders'
import Reports from '@/router/reports'

export default [
  {
    path: '/home',
    component: Home,
    redirect: '/welcome',
    children: [
      ...Welcome,
      ...Users,
      ...Rights,
      ...Goods,
      ...Orders,
      ...Reports
    ]
  }
]